package com.hundsun.aitest.model.plat;

import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class InterfaceDict {

    private String testPoint;

    private String interfaceName;

    private Integer interfaceId;

    private String url;

    private String scriptName;

    private String scriptId;

    private String description;

    private String method;

    private Map<String, String> headers;

    private String bodyType;

    private List<ApiParams> paramsList;

    private ApiParams reqFormatter;

    private List<ApiParams> responseParamsList;

    private String responseBody;

    /**
     * 公共参数字典，首次加载读取，只记录一次。销售商，TA列表，客户类型等等
     */
    private Map<String, List<ParamsDict>> commonParamsDict;

    /**
     * 表结构,json格式: {table:{name:xxx,type:xxx,comment:xxx,defaultValue:xxx,isNullable:YES|NO}}
     */
    private List<TableInformation> tableStructures;
}
